<?php 
    $js = Configure::read('Page.script');
 ?>
<footer>

    <?php echo $this->Html->script('jquery-1.9.1'); ?>
    <?php echo $this->Html->script('jquery-ui-1.10.3.custom.min'); ?>
    <?php echo $this->Html->script('plugins'); ?>
    <?php echo $this->Html->script('main'); ?>.js
    <?php echo $this->Html->script('jquery.dataTables.min'); ?>
    <?php echo $this->Html->script($js); ?>


    <script>
        var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
        (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
        g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
        s.parentNode.insertBefore(g,s)}(document,'script'));
    </script>
</footer>